/**
 * Copyright © 2011 looty - Textoo
 * @link http://www.textoo.org
 * @link http://code.google.com/p/textoo/
 * @author lab9 - Bertrand Larrieu
 * @mail lab9.fr@gmail.com
 * @version 2.0
 */

package org.looty.textoo.events 
{
	import flash.events.Event;

	public class TextooEvent extends Event
	{
		
		static public const LANGUAGE_ADDED					:String = "TextooEvent_LanguageAdded";
		static public const LANGUAGE_CHANGE					:String = "TextooEvent_LanguageChange";
		static public const LOCALISATION_UPDATE				:String = "TextooEvent_LocalisationUpdate";
		static public const LOCALISATION_ADDED				:String = "TextooEvent_LocalisationAdded";
		static public const STYLESHEET_CHANGE				:String = "TextooEvent_StyleSheetChange";
		static public const REQUIRE_FORMAT					:String = "TextooEvent_RequireFormat";
		static public const REQUIRE_RENDER					:String = "TextooEvent_RequireRender";
		static public const SET_CONTEXT						:String = "TextooEvent_SetContext";
		static public const UPDATE							:String = "TextooEvent_Update";
		
		public function TextooEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event 
		{
			return new TextooEvent(type, bubbles, cancelable);
		}
		
	}

}